projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14b6a07
)
usb: musb-new: Call musb_platform_exit from musb_stop
author
Jagan Teki
<
[email protected]
>
Fri, 20 Jul 2018 07:14:01 +0000
(12:44 +0530)
committer
Jagan Teki
<
[email protected]
>
Thu, 23 Aug 2018 12:01:24 +0000
(17:31 +0530)
musb stop is musb core call during unregister or shutting down
gadget or host musb. For graceful exit add musb_platform_exit
on musb_stop so-that it can exit the musb platform driver as well.
Tested-by: Chen-Yu Tsai <
[email protected]
> # A33-OlinuXino
Tested-by: Jagan Teki <
[email protected]
>
Signed-off-by: Jagan Teki <
[email protected]
>
drivers/usb/musb-new/musb_core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/musb-new/musb_core.c
b/drivers/usb/musb-new/musb_core.c
index 8fec6f38ad0c56215b4178ca1cbccf0c00bb4232..afea9fbcef67205cab4306ff3df4b1002b28d2d8 100644
(file)
--- a/
drivers/usb/musb-new/musb_core.c
+++ b/
drivers/usb/musb-new/musb_core.c
@@
-1007,6
+1007,7
@@
void musb_stop(struct musb *musb)
* - ...
*/
musb_platform_try_idle(musb, 0);
+ musb_platform_exit(musb);
}
#ifndef __UBOOT__